home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / watcom / llcomm13 / makefile < prev    next >
Encoding:
Makefile  |  1994-08-26  |  1.1 KB  |  42 lines

  1. # *********************************************************************
  2. # -=[ Communications Test MAKEFILE ]=-
  3. # Coded by      : James Ketrenos
  4. # Date          : April 11, 1994
  5. # *********************************************************************
  6. VERSION = PROD
  7. DEBUG_C_FLAGS   = /3r /7 /zp4 /w4 /d2
  8. PROD_C_FLAGS    = /3r /7 /zp4 /w4 /oneaxt
  9. DEBUG_A_FLAGS   = /c /Zi /Zd
  10. PROD_A_FLAGS    = /c
  11.  
  12. CFLAGS  = $($(VERSION)_C_FLAGS)
  13. AFLAGS  = $($(VERSION)_A_FLAGS)
  14. LFLAGS  = system dos4g
  15. CC      = wcc386
  16. ML              = ml
  17. NAME    = lcr
  18.  
  19. LNK =   $(NAME).lnk
  20. OBJS =  $(NAME).obj ll_comm.obj ll_stat.obj
  21. LIBS =
  22.  
  23. $(NAME).exe     : $(OBJS) $(LNK) $(LIBS) makefile
  24.         wlink $(LFLAGS) @$(LNK)
  25.  
  26. $(NAME).obj : $(NAME).c makefile ll_comm.h
  27. #ll_stat.obj  : ll_stat.c ll_stat.h makefile
  28. ll_comm.obj : ll_comm.asm
  29.  
  30. $(LNK)          : makefile
  31.         %create $(LNK)
  32.         @%append $(LNK) debug all
  33.         @%append $(LNK) name $(NAME)
  34.         @for %i in ($(OBJS)) do @%append $(LNK) file %i
  35.         @for %i in ($(LIBS)) do @%append $(LNK) file %i
  36.  
  37. .c.obj:
  38.     $(CC) $(CFLAGS) $[*.c
  39.  
  40. .asm.obj:
  41.         $(ML) $(AFLAGS) $[*.asm
  42.